<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>

<head><title>Spring Pizza</title></head>

<body>
<h2>Customer Registration</h2>

<form:form commandName="order">
    <input type="hidden" name="_flowExecutionKey"
           value="${flowExecutionKey}"/>
    <b>Phone number: </b><form:input path="customer.phoneNumber"/><br/>
    <b>Name: </b><form:input path="customer.name"/><br/>
    <b>Address: </b><form:input path="customer.address"/><br/>
    <b>City: </b><form:input path="customer.city"/><br/>
    <b>State: </b><form:input path="customer.state"/><br/>
    <b>Zip Code: </b><form:input path="customer.zipCode"/><br/>
    <input type="submit" name="_eventId_submit"
           value="Submit"/>
    <input type="submit" name="_eventId_cancel"
           value="Cancel"/>
</form:form>
</body>
</html>